Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/model/src/androidMain/kotlin/org/meshtastic/core/model/util/UriBridge.kt 4d4070c8e1ed73a56ee2f054300a0f62e3fe2e62 (4d4070c8) Text, 1.56 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model.util

Tff7b72import T7ee787android.net.Uri
Tff7b72import T7ee787com.eygraber.uri.toKmpUri
Tff7b72import T7ee787org.meshtastic.core.common.util.CommonUri
Tff7b72import T7ee787org.meshtastic.proto.ChannelSet
Tff7b72import T7ee787org.meshtastic.proto.SharedContact

T8b949e/** Extension to bridge android.net.Uri to CommonUri for shared dispatch logic. */
Tff7b72fun Te6edf3UriTb4b4b4.Td2a8fftoCommonUriTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3CommonUri Tff7b72= Tff7b72thisTb4b4b4.Te6edf3toKmpUriTb4b4b4(Tb4b4b4)

T8b949e/** Bridge extension for Android clients. */
Tff7b72fun Te6edf3UriTb4b4b4.Td2a8ffdispatchMeshtasticUriTb4b4b4(
Te6edf3onChannelTb4b4b4: Tb4b4b4(Te6edf3ChannelSetTb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Te6edf3onContactTb4b4b4: Tb4b4b4(Te6edf3SharedContactTb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Te6edf3onInvalidTb4b4b4: Tb4b4b4(Tb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Tb4b4b4) Tff7b72= Tff7b72thisTb4b4b4.Te6edf3toCommonUriTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3dispatchMeshtasticUriTb4b4b4(Te6edf3onChannelTb4b4b4, Te6edf3onContactTb4b4b4, Te6edf3onInvalidTb4b4b4)

T8b949e/** Bridge extension for Android clients. */
Tff7b72fun Te6edf3UriTb4b4b4.Td2a8fftoChannelSetTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3ChannelSet Tff7b72= Tff7b72thisTb4b4b4.Te6edf3toCommonUriTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3toChannelSetTb4b4b4(Tb4b4b4)

T8b949e/** Bridge extension for Android clients. */
Tff7b72fun Te6edf3UriTb4b4b4.Td2a8fftoSharedContactTb4b4b4(Tb4b4b4)Tb4b4b4: Te6edf3SharedContact Tff7b72= Tff7b72thisTb4b4b4.Te6edf3toCommonUriTb4b4b4(Tb4b4b4)Tb4b4b4.Te6edf3toSharedContactTb4b4b4(Tb4b4b4)

Served by rngit 1.5.0 - Generated in 0.05s